import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/quality",
    name: "qualityTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "qc-criteria-category",
        name: "qcCriteriaCategory",
        component: () =>
          import(
            /* webpackChunkName: "qcCriteriaCategory" */ "@/views/quality/BasicCategoryQcCriteria.vue"
          ),
        meta: {
          title: "质检标准类别",
        },
      },
      {
        path: "qc-maintenance",
        name: "qcMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "qcMaintenance" */ "@/views/quality/QcMaintenance.vue"
          ),
        meta: {
          title: "质检标准维护",
        },
      },
      {
        path: "qc-category",
        name: "qcCategory",
        component: () =>
          import(
            /* webpackChunkName: "qcCategory" */ "@/views/quality/BasicCategoryQc.vue"
          ),
        meta: {
          title: "质检类别",
        },
      },
      {
        path: "qc-project",
        name: "qcProject",
        component: () =>
          import(
            /* webpackChunkName: "qcProject" */ "@/views/quality/QcProject.vue"
          ),
        meta: {
          title: "质检项目维护",
        },
      },
      {
        path: "qc-protocol",
        name: "qcProtocol",
        component: () =>
          import(
            /* webpackChunkName: "qcProtocol" */ "@/views/quality/QcProtocolReceipt.vue"
          ),
        meta: {
          title: "质检方案维护",
        },
      },
      {
        path: "qc-report-manage",
        name: "qcReportManage",
        component: () =>
          import(
            /* webpackChunkName: "qcReportManage" */ "@/views/quality/QcReportReceipt.vue"
          ),
        meta: {
          title: "质检报告管理",
        },
      },
      {
        path: "unqualified-handling",
        name: "unqualifiedHandling",
        component: () =>
          import(
            /* webpackChunkName: "unqualifiedHandling" */ "@/views/quality/UnqualifiedHandlingReceipt.vue"
          ),
        meta: {
          title: "不合格品处理",
        },
      },
      {
        path: "end-of-life",
        name: "endOfLife",
        component: () =>
          import(
            /* webpackChunkName: "endOfLife" */ "@/views/quality/ComponentScrappingReceipt.vue"
          ),
        meta: {
          title: "构件报废",
        },
      },
      {
        path: "raw-materials-exam",
        name: "rawMaterialsExam",
        component: () =>
          import(
            /* webpackChunkName: "rawMaterialsExam" */ "@/views/quality/RawMaterialInspectionReceipt.vue"
          ),
        meta: {
          title: "原料检验",
        },
      },
      {
        path: "procedure-quality-exam",
        name: "procedureQualityExam",
        component: () =>
          import(
            /* webpackChunkName: "procedureQualityExam" */ "@/views/quality/ProcessQualityReceipt.vue"
          ),
        meta: {
          title: "工序质量检验",
        },
      },
      {
        path: "concrete-fit-ratio-manage",
        name: "concreteFitRatioManage",
        component: () =>
          import(
            /* webpackChunkName: "concreteFitRatioManage" */ "@/views/quality/ConcreteFormulaRatioReceipt.vue"
          ),
        meta: {
          title: "混凝土配合比管理",
        },
      },
    ],
  },
];
